﻿using RAP.Framework.Libary.DomTemplateBuilder.Element.Conditional;
using System.ComponentModel;
using RAP.Framework.Libary.DomTemplateBuilder.Attributes;
using RAP.Framework.Libary.DomTemplateBuilder.Handler.IterateItem;

namespace RAP.Framework.Libary.DomTemplateBuilder.Element.Collection.IterateItem
{
	/// <summary>
	/// 判断是否是循环的第一个对象节点
	/// </summary>
	[Description( "判断是否是循环的第一个对象节点" )]
    [TagHandler( "Iterate.IsFirst", typeof( IsFirstItemHandler ) )]
    public class IsFirstItem : ConditionalBase
    {
        public new Iterate Parent
        {
            get
            {
                return base.Parent as Iterate;
            }
        }
    }
}
